import numpy as np
import pandas as pd
arr1 = np.array([range(0, 12), range(2, 14)])

print(arr1)

# shape[0]是行数
print(arr1.shape[0])
# shape是[1]列数
print(arr1.shape[1])

# 转置arr1.T      arr1.transpose()        arr1.swapaxes(1,0)
print(arr1.T)


